package com.mxpio.erp.common.sales.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.mxpio.erp.common.jpa.model.Partner;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "MB_ERP_SALES_CUSTOMER")
@ApiModel(value="客户")
public class Customer extends Partner {
	
	private static final long serialVersionUID = 1L;

	@Column(name = "CST_NAME_")
	@ApiModelProperty(value = "客户名称")
	private String cstName ;

	@Column(name = "CST_ADDRESS_")
	@ApiModelProperty(value = "客户地址")
	private String cstAddress ;

	@Column(name = "CST_CONTACTS_")
	@ApiModelProperty(value = "联系人")
	private String cstContacts ;

	@Column(name = "CST_PHONE_")
	@ApiModelProperty(value = "手机")
	private String cstPhone ;

	@Column(name = "CST_TEL_")
	@ApiModelProperty(value = "电话")
	private String cstTel ;

	@Column(name = "CST_FAX_")
	@ApiModelProperty(value = "传真")
	private String cstFax ;

	@Column(name = "CST_ZIP_CODE_")
	@ApiModelProperty(value = "邮政编码")
	private String cstZipCode;

}
